<?php
class Tourism_reviews_reply_model extends BZ_Model
{
    protected $table = 'tourism_reviews_reply';

    public function reviewsReply($params=array())
    {
        $data = array(
            'review_id'       => $params['review_id'],
            'reply_user_name' => $params['reply_user_name'],
            'reply_content'   => $params['reply_content'],
        );
        $this->db->insert($this->table, $data);
        return $this->db->insert_id();
    }
    
}